package com.rgp.serviceorder.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author nhp
 * @version 1.0
 * @description TODO
 * @date 2024-04-20 5:40
 */
@TableName("t_order")
@Data
public class Order {
    private Long id;
    private Long passengerId;
    private String passengerPhone;
    private Long driverId;
    private String driverPhone;
    private Long carId;
    private String address;
    private Date orderTime;
    private Date departTime;
    private String departure;
    private String depLongitude;
    private String depLatitude;
    private String destination;
    private String destLongitude;
    private String destLatitude;
    private Integer encrypt;
    private String receiveOrderCarLongitude;
    private String receiveOrderCarLatitude;
    private Date receiveOrderTime;
    private String licenseId;
    private String vehicleNo;
    private Date toPickUpPassengerTime;
    private String toPickUpPassengerLongitude;
    private String toPickUpPassengerLatitude;
    private String toPickUpPassengerAddress;
    private Date driverArrivedDepartureTime;
    private Date pickUpPassengerTime;
    private String pickUpPassengerLongitude;
    private String pickUpPassengerLatitude;
    private Date passengerGetoffTime;
    private String passengerGetoffLongitude;
    private String passengerGetoffLatitude;
    private Date cancelTime;
    private Integer cancelOperator;
    private Integer cancelTypeCode;
    private Long driverMile;
    private Long driverTime;
    private Integer orderStatus;
    private String fareType;
    private Integer fareVersion;
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
    private BigDecimal price;
}